﻿<?xml version="1.0" encoding="utf-8" ?>
<Rules FriendlyName="Custom Code Analysis Rules">
  <Rule TypeName="AvoidExposingPublicConstants" Category="Wrox.Custom"
        CheckId="CS0001">
    <Name>Avoid exposing public constancts</Name>
    <Description>
      The values of public constants are compiled into any referencing
      assemblies.  Should that value change, it is not sufficient to
      recompile the source assembly because that value will also be
      stored in those referencing assemblies.  Avoid public constants
      for this reason.
    </Description>
    <Resolution>
      Change public constant '{0}' to a readonly variable, or mark
      it as private or internal.
    </Resolution>
    <MessageLevel Certainty="99">Warning</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Url>/Custom/AvoidExposingPublicConstants.html</Url>
    <Email>yourname@yourcompany.com</Email>
    <Owner>Contact PErson's Name</Owner>
  </Rule>
</Rules>
